solving exponential equation with lambert w